package com.syq.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author syq
 * @since 2022-07-21
 */
@TableName("doctor")
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 医生id
     */
    @TableId(value = "doctor_id", type = IdType.AUTO)
    private Integer doctorId;

    /**
     * 医生名称
     */
    private String doctorName;

    /**
     * 科室id
     */
    private Integer departmentId;

    /**
     * 挂号类型
     */
    private Integer registeredId;

    /**
     * 0 - 门诊部 ， 1 - 住院部
     */
    private Integer dstate;

    /**
     * 上午工作开始时间
     */
    private String amStartTime;

    /**
     * 上午工作结束时间
     */
    private String amEndTime;

    /**
     * 下午工作开始时间
     */
    private String pmStartTime;

    /**
     * 下午工作结束时间
     */
    private String pmEndTime;

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }
    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }
    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }
    public Integer getRegisteredId() {
        return registeredId;
    }

    public void setRegisteredId(Integer registeredId) {
        this.registeredId = registeredId;
    }
    public Integer getDstate() {
        return dstate;
    }

    public void setDstate(Integer dstate) {
        this.dstate = dstate;
    }
    public String getAmStartTime() {
        return amStartTime;
    }

    public void setAmStartTime(String amStartTime) {
        this.amStartTime = amStartTime;
    }
    public String getAmEndTime() {
        return amEndTime;
    }

    public void setAmEndTime(String amEndTime) {
        this.amEndTime = amEndTime;
    }
    public String getPmStartTime() {
        return pmStartTime;
    }

    public void setPmStartTime(String pmStartTime) {
        this.pmStartTime = pmStartTime;
    }
    public String getPmEndTime() {
        return pmEndTime;
    }

    public void setPmEndTime(String pmEndTime) {
        this.pmEndTime = pmEndTime;
    }

    @Override
    public String toString() {
        return "Doctor{" +
            "doctorId=" + doctorId +
            ", doctorName=" + doctorName +
            ", departmentId=" + departmentId +
            ", registeredId=" + registeredId +
            ", dstate=" + dstate +
            ", amStartTime=" + amStartTime +
            ", amEndTime=" + amEndTime +
            ", pmStartTime=" + pmStartTime +
            ", pmEndTime=" + pmEndTime +
        "}";
    }
}
